package com.teamclub.domain.system;

import io.ebean.Finder;
import io.ebean.Model;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class AppUserToken extends Model {
    @Id
    private Long userId;
    private String token;
    private Date expireTime;
    private Date updateTime;
    public static Finder<Integer, AppUserToken> finder = new Finder<>(AppUserToken.class);
}
